#include "cStateManager.h"

cStateHandler::cStateHandler(void)
{
	this->m_state = NO_SCENE;
}

cStateHandler::~cStateHandler(void)
{
}

//void cStateHandler::Init()
//{
//	this->m_state = NO_SCENE;
//}


bool cStateHandler::InputProcess(unsigned char keyboardkey)
{

	if(keyboardkey == DIK_SPACE)
	{
		if (m_state == NO_SCENE)
		{
			m_state = MAIN_SCENE;
		}
		if (m_state == MAIN_SCENE)
		{
			m_state = NO_SCENE;
		}
	}

//////////////////////////////////////////////////////////
	return true;
}

int cStateHandler::GetGameState()
{
	return this->m_state;
}